Get Workspaces
Get Workspaces
Response
idstring
Id of the workspace.
realmstring
Name of the workspace.
displayNamestring
Display name of the workspace.
workspacestring
Workspace URL.
hasCustomDomainboolean
true/false workspace having custom domain or not.
enabledboolean
true/false for workspace is enabled or not.
modestring
Mode of the workspace.
dnsenabledboolean
true/false for dns enabled or not.
liveboolean
true/false for the workspace is live or not.
localestring
Locale language of the workspace.
Sample Response
[
{
"id": "c9542c4b-df69-4153-a411-a0dd6b84d3b3",
"realm": "grootan",
"displayName": "eztoauth",
"workspace": "http://localhost:8080",
"hasCustomDomain": false,
"enabled": true,
"mode": "wiam",
"dnsenabled": false,
"live": true,
"locale": "en"
},
{
"id": "51cc1251-2ace-4ee6-9872-00abacf0b833",
"realm": "workforce-mode",
"displayName": "Workforce Mode",
"workspace": "http://localhost:8080",
"hasCustomDomain": false,
"enabled": true,
"mode": "wiam",
"dnsenabled": false,
"live": false,
"locale": "en"
}
]
| HTTP STATUS CODE SUMMARY | ||
|---|---|---|
| 200 - OK | Successfully done. | |
| 201 - OK | Successfully created. | |
| 400 - Bad Request | The request was unacceptable, often due to missing a required parameter. | |
| 401 - Unauthorized | Unauthorized access try with correct access. | |
| 402 - Request Failed | The parameters were valid but the request failed. | |
| 403 - Forbidden | The Application doesn't have permissions to perform the request. | |
| 404 - Not Found | The requested resource doesn't exist | |
| 500 - Server Errors | Something went wrong on ezto auth's end. (These are rare.) | |
| 503 - Server Errors | Service temporarily unavailable |
Loading...